﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace SixLottery.Common
{
    public class Config
    {
        public static string IsDevelopMode
        {
            get
            {
                return ConfigurationManager.AppSettings["IsDevelopMode"];
            }
        }

        public static string ConnectionString
        {
            get
            {
                return ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; 
            }            
        }

        public static string DefaultDateFormat
        {
            get
            {
                return ConfigurationManager.AppSettings["DefaultDateFormat"];
            }
        }

        public static string DefaultLongDateFormat
        {
            get
            {
                return ConfigurationManager.AppSettings["DefaultLongDateFormat"];
            }
        }
    }
}